<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>学生后台管理系统</title>
        <link rel="stylesheet" href="./layui/css/layui.css" />
    </head>
    <body>
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header">
                <div class="layui-logo layui-hide-xs layui-bg-black">
                    朗沃学生管理系统
                </div>
               
                <ul class="layui-nav layui-layout-right">
                    <li
                        class="layui-nav-item layui-hide layui-show-md-inline-block"
                    >
                        <a href="javascript:;">
                           
                            tester
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="">Your Profile</a></dd>
                            <dd><a href="">Settings</a></dd>
                            <dd><a href="">Sign out</a></dd>
                        </dl>
                    </li>
                    <li
                        class="layui-nav-item"
                        lay-header-event="menuRight"
                        lay-unselect
                    >
                        <a href="javascript:;">
                            <i class="layui-icon layui-icon-more-vertical"></i>
                        </a>
                    </li>
                </ul>
            </div>

            <div class="layui-side layui-bg-black">
                <div class="layui-side-scroll">
                    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                    <ul class="layui-nav layui-nav-tree" lay-filter="studentNav">
                       
                        <li class="layui-nav-item">
                            <a href="#student">学生管理</a>
                        </li>
                        <li class="layui-nav-item">
                            <a href="#class">班级管理</a>
                        </li>
                        <li class="layui-nav-item">
                            <a href="#teacher">老师管理</a>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="layui-body">
                <!-- 内容主体区域 -->
                <div id="content" style="padding: 15px">
                    
                </div>
            </div>

            <div class="layui-footer">
                <!-- 底部固定区域 -->
            </div>
        </div>
        <script src="./layui/layui.js"></script>
        <script>
            layui.use(function(){
                let {element,$} = layui;
                element.on('nav(studentNav)',function(data){
                    $("#content").load(data.attr('href').substring(1) + '.html');
                });
            });

        </script>
    </body>
</html>
